package com.service.atf.base.core;

public interface GlobalDefine {
  public static String[] TYPESTR={"����","�ظ�","֪ͨ"};
  public static String dbname="ELMP";
  public static String defspace="DEFAULT";
  public static String bankspace="BANK";
  public static String ncpspace="NCP";
  public static String mcspace="MC";
  public static String cncpspace="CNCP";
  public static String adderspace="ADDER";
  public static String replyspace="REPLY";
  public static String securespace="SECURE";
  public static String db1space="DB1";
  public static String db2space="DB2";
  public static String rngspace="RNG";
  public static String mpspace="MP";
  public static String omspace="OM";
  public static String omspacesub="POM";
  public static String cdsspace="CDS";
  public static String callcenterspace="CALLCENTER";

  // UKEY�����߱�ʶ
  public static String MODEL_UKEYDEVSTR="ELMP-MOD-CHINALOTSYNERGY";
  public static String SECURE_UKEYDEVSTR="ELMP-SEC-CHINALOTSYNERGY";
  public static String CONSOLE_UKEYDEVSTR="ELMP-CON-CHINALOTSYNERGY";
  // UKEY������ID
  public static String MODEL_UKEYDEVID="4C574110";
  // UKEY������ID
  public static String SECURE_UKEYDEVID="45755A4A";
  // UKEY������ID
  public static String CONSOLE_UKEYDEVID="3908C54F";
  
  public static String RNG_CONTROL="RNG_CONTROL";
  public static String SECURE_CONTROL="SECURE_CONTROL";

  public static int MESG_HEAD=30;
  public static int MESG_POOL=512;
  public static int MESG_SIZE=1024;
  public static int RECV_BUFF=64*1024;
  public static int SEND_BUFF=64*1024;

  public static String XMLCONFIG="XMLCONFIG";
  public static String WINNER="WINNER";
  public static String DBXML="DBXML";
  public static String NEWWINER="NEWWINER";
  public static String TOTALWIN="TOTALWIN";
  
  public static String OMConfig="OMXMLCONFIG";

  public static String GAMEMANAGER="GAMEMANAGER";
  public static String ADDER_WAITABLE="ADDER_WAITABLE";

  public static String ADDER_SERVICE="ADDER_SERVICE";
  // TF�ļ�����
  public static final int TF_STATUS_END=-2;
  // TF�ļ��ж�ָ��׷�ϵ�дָ��
  public static final int TF_STATUS_POINT_EQUALS=-1;
  // TF�ļ���ADDERָ��Ϊ��
  public static final int TF_STATUS_ADDER_EMPTY=-3;
  // TF�ļ�д��ɹ�
//  public static final int TF_STATUS_WRITE_SUCCESS=0;
  // TF��ȡ��¼����ʱʧ�ܣ����¶�ȡ
  public static final int TF_STATUS_READ_REDO=-4;
  // TF��ȡ��¼����ɹ�
//  public static final int TF_STATUS_READ_SUCCESS=0;

  // header��ÿ��ָ����ռ���ֽ���
  public static final int TF_HEAD_LEN_EVERY=4;
  // header��ָ�������
  public static final int TF_HEAD_COUNT_UNIT=5;
  // �ļ�ͷ����ռ�ֽ�
  public static final int TF_HEAD_LEN_ALL=TF_HEAD_LEN_EVERY*TF_HEAD_COUNT_UNIT;
  // TF�ļ���ʼ������ռ�ֽ�
  public static final int TF_LEN_START=116;
  // �ļ��ļ�ĩβ��ռ�ֽ�
  public static final int TF_LEN_END=66;
  // checkpoint������ռ�ֽ�
  public static final int TF_LEN_CHECKPOINT=66;
  // TF�ļ�ͷ��+TF�ļ���ʼ
  public static final int TF_HEAD_LEN_AND_START=TF_HEAD_LEN_ALL+TF_LEN_START;

  // TFÿ����¼�е��߳�ID��ռ�ֽ���
  public static final int TF_LEN_THREADID=8;

  // TF�ļ�·����󳤶�
  public static final int TF_LEN_MAX_PATH=50;

  // ÿ����¼��ʼ�ĳ����ֶ���ռ�ֽ���
  public static final short TF_RECORD_LEN_BYTE=2;
  // ÿ��ָ���Ĭ��ֵ
  public static final int TF_DEFAULT_HEADER_VALUE=-1;

  // ÿ���˻���Ϣ��ռ�ֽ�
  public static final int AC_USER_LEN_EVERY=265;

  public static final String ATF_DB_KEY_CUSTTYPE="customerTypeDB";

  public static final String ATF_DB_KEY_CUST="customerDBService";

  public static final String ATF_DB_KEY_TFINFO="tfInfoDBService";

  public static final String ATF_KEY_REPLY_SERVICE="replyService";

  public static final String ATF_KEY_PAGER = "pager";

  public static final String MP_KEY_CACHEDATA = "cacheData";

  public static final String ATF_MAPKEY_ERRCODE= "errCode";

  public static final String ATF_KEY_DAY_TASK_TIMEOUT ="DAY_TASK_TIMEOUT";

  /**
   * ******************* ��ݿⳣ���ֶζ���start *****************
   */
  // �������ͣ���֤��
  public static final int SMS_CHECKCODE_TYPE=3;

  // ����״̬������
  public static final int SMS_READY_STATE=0;
  
  //����״̬���ѷ���
  public static final int SMS_SEND_STATE=1;

  // ��Ϣ״̬����ɾ��
  public static final int MESSAGE_DELETED=3;

  // ������Ϣ���ͣ����񹫸�
  public static final int CUSTOM_NOTICE=0;

  // ������Ϣ���ͣ�������Ϣ
  public static final int CUSTOM_MESSAGE=1;

  // �˻��������ͣ���ֵ
  public static final int TRANS_TYPE_CHARGE=0;

  // �˻��������ͣ�����
  public static final int TRANS_TYPE_CASH=1;

  // �˻��������ͣ�Ͷע
  public static final int TRANS_TYPE_BET=2;

  // �˻��������ͣ���Ʊ
  public static final int TRANS_TYPE_GIFT=3;

  // �˻��������ͣ��˿�
  public static final int TRANS_TYPE_REFUND=4;

  // �˻��������ͣ��ҽ�
  public static final int TRANS_TYPE_PAY=5;

  // �˻��������ͣ��ο�
  public static final int TRANS_TYPE_OPEN=6;

  // �˻��������ͣ�����
  public static final int TRANS_TYPE_FLUSHES=7;

  // �˻��������ͣ�����
  public static final int TRANS_TYPE_REPAIR=8;

  // �˻��������ͣ�����
  public static final int TRANS_TYPE_OTHERS=9;
  
  //�˻��Ƿ��¼���ѵ�¼
  public static final int CUSTOM_LOGIN=0;
  
  //�˻��Ƿ��¼��δ��¼
  public static final int CUSTOM_NO_LOGIN=1;
  
  /**
   * Ʊ��״̬��δ�ο�
   */
  public static final int TICKET_STATES_UNOPEN = 0;
  /** ******************** ��ݿⳣ���ֶζ��� end ***************** */
}
